<%@ include file="/common/taglibs.jsp"%>

<% boolean isEnabled = Boolean.parseBoolean(request.getParameter("isEnabled"));
   if (isEnabled) {
%>
<s:a href="<%= request.getParameter("linkUrl") %>">
    <img src='<s:url value='<%= request.getParameter("imageUrl") %>'/>' alt='<s:text name='<%= request.getParameter("imageTitle") %>'/>' title='<s:text name='<%= request.getParameter("imageTitle") %>'/>'/>
</s:a>
<% } else { %>
<img src='<s:url value='<%= request.getParameter("imageUrlDisabled") %>'/>' alt='<s:text name='<%= request.getParameter("imageTitle") %>'/>' title='<s:text name='<%= request.getParameter("imageTitle") %>'/>'/>
<% } %>